package cn.iune.erp.inventory;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.UniqueConstraint;
import javax.persistence.Version;

import com.justep.baas.data.RowState;

//import cn.afterturn.easypoi.excel.annotation.Excel;



@Entity
@Table(name="FileItem",uniqueConstraints={@UniqueConstraint(name="itemNo1", columnNames={"itemNo", "enterpriseNo"}),@UniqueConstraint(name="barcode1", columnNames={"barcode", "enterpriseNo"})})
@NamedQuery(name="FileItem.findAll", query="SELECT s FROM FileItem s")
public class FileItem {

	@Id
	@Column(length=36)
	private String fID;
	
	//这个可以不要，在查询过程中计算获得
	@Column(length=512)
	private String properValues;//特征值
	
	@Column(length=32)
	private String systemCode;
	@Column(length=4)
	private String billType;
	@Column(length=20)
	private String billTypeName;
	private Date orderDate;
	@Column(length=10)
	private String state;
	@Column(length=10)
	private String status;
	
//	@Excel(name="物料编码",orderNum = "0")
	@Column(length=30)
	private String itemNo;
//	@Excel(name = "性别", replace = {"男_1", "女_2"}, orderNum = "1")
//	@Excel(name = "生日", exportFormat = "yyyy-MM-dd", orderNum = "2")
//	@Excel(name="物料名称",orderNum = "1")
	@Column(length=100)
	private String itemName;
//	@Excel(name="物料规格",orderNum = "2")
	@Column(length=255)
	private String itemProperty;// = "*****";
	@Transient
	private String itemDescribe;
	
//	@Column(length=4,nullable=false)
//	private String classCode;//不再使用
//	@Column(length=20)
//	private String classLabel;//不再使用
	@Column(length=15)
	private String unitCode;
	@Column(length=20)
	private String unitName;
	/*
	[
	{"process":"P","processLabel":"P.采购件"}
	,{"process":"M","processLabel":"M.自制件"}
	,{"process":"E","processLabel":"E.委外件"}
	,{"process":"V","processLabel":"V.虚拟件"}
	
	,{"process":"C","processLabel":"C.配置件"}
	,{"process":"S","processLabel":"S.服务类"}
	,{"process":"R","processLabel":"R.维修件"}
	,{"process":"Z","processLabel":"Z.资产类"}
	]
	*/		
	@Column(length=1)
	private String process;
	@Column(length=10)
	private String processLabel;
	@Column(length=3)
	private int stockFlag = 1;//0,不是存货；1，是存货
	private int costingType = 2;//成本计价方式
	private int mpsFlag = 1;//0,不是MPS件；1，是MPS件
	
	private int qualityPeriod = 0;//0,不启用保质期管理；1，启用
	private int validDays = 0;//有效天数
	private int checkoutAgainDays = 0;//复检天数
	private int checkoutDays = 0;//检验天数
	
	/*
	检验单
	检验方式
	0:免检
	1:抽检（减量）
	2:抽检（正常）
	3:抽检（加严）
	4:全检
	 */	
	private int qualityType = 0;
	@Column(length=10)
	private String qualityTypeLabel = "0:免检";//0:免检,1:抽检,2:全检


	@Column(length=1024)
	private String storeNo;
	@Column(length=20)
	private String batchNo;

	@Column(length=1)
	private String forSale;
	@Column(length=1)
	private String forUsed;//物料类型：S：服务；C：生产耗用
	
	private int configType = 0;//可配置物料（0：不可配置，1：可配置）。可配置物料才可以维护物料特性

	/////不是必须使用，可以去掉，但是前台也需要处理//////////////////
//	private int nodeLevel = 1;
//	@Column(length=32)
//	private String nodeKind;
	///////////////////////////////////////////
	
	@Column(length=50)
	private String sortNo;
	@Column(length=32)
	private String fParent;//指定配置物料ID，本物料可以根据此ID配置物料特性值。只有指定了配置物料的物料才可以配置特性值
	@Column(length=30)
	private String fParentNo;//指定配置物料

	
	
	private int upperShelf = 0;//上架
	private int checkin = 1;//是否参加出入库登记（影响单据总数量）。不参加（不计入单据总数量）：0，参加：1

	
	@Column(length=3)
	private String storageType;
	@Column(length=20)
	private String storageTypeLabel;
	@Column(length=32)
	private String storageID;
	@Column(length=32)
	String storageNo;
	@Column(length=20)
	String storageName;
	@Column(length=128)
	private String floorNo;
	@Column(length=5)
	private String allowed;//库存量不足准许出库：yes，否则：no

//	@Transient
//	@Column(length=32)
//	private String factoryID;
//	@Transient
//	@Column(length=15)
//	private String factoryNo;
//	@Transient
//	@Column(length=20)
//	private String factoryName;
	
	
	//税率（物料税率，采购、销售、委外共用）
	@Column(precision=10,scale=2)
	private BigDecimal taxRate = BigDecimal.ZERO;
	
	//采购
	private int purchaseTaxType = 1;//税种：0：不含税，1：含税
//	@Column(length=10)
//	private String taxTypeLabel = "1.应税内含";
	@Column(precision=38,scale=6)
	private BigDecimal purchasePrice = BigDecimal.ZERO;
	//销售
	private int saleTaxType = 1;//税种：0：不含税，1：含税
//	@Column(length=10)
//	private String saxTypeLabel = "1.应税内含";
	@Column(precision=38,scale=6)
	private BigDecimal salePrice = BigDecimal.ZERO;
	//委外
	private int processTaxType = 1;//税种：0：不含税，1：含税
//	@Column(length=10)
//	private String paxTypeLabel = "1.应税内含";
	@Column(precision=38,scale=6)
	private BigDecimal processPrice = BigDecimal.ZERO;

	@Column(length=1)
	private String abcGrade;

	@Column(length=2)
	private String levelCode = "99";
	
	@Column(length=15)
	private String routingNo;

	@Column(precision=10,scale=2,columnDefinition="DECIMAL(10,2) default 0",nullable=false)
	private BigDecimal itemQuantityL = BigDecimal.ZERO;
	@Column(precision=10,scale=2,columnDefinition="DECIMAL(10,2) default 0",nullable=false)
	private BigDecimal itemQuantityFrozen = BigDecimal.ZERO; //冻结数量。为销售订单预留数量	
	@Column(precision=10,scale=2,columnDefinition="DECIMAL(10,2) default 0",nullable=false)
	private BigDecimal pieceQuantityL = BigDecimal.ZERO;
	@Column(precision=10,scale=2,columnDefinition="DECIMAL(10,2) default 0",nullable=false)
	private BigDecimal pieceQuantityFrozen = BigDecimal.ZERO; //冻结数量。为销售订单预留数量	

	private Date dateIn;
	private Date dateOut;
	
	//实际单位成本
//	@Column(precision=38,scale=6)
//	private BigDecimal materialAmountPer = BigDecimal.ZERO;
//	@Column(precision=38,scale=6)
//	private BigDecimal workingAmountPer = BigDecimal.ZERO;
//	@Column(precision=38,scale=6)
//	private BigDecimal manufactAmountPer = BigDecimal.ZERO;
//	@Column(precision=38,scale=6)
//	private BigDecimal processAmountPer = BigDecimal.ZERO;
	
	@Transient
	@Column(precision=38,scale=6)
	private BigDecimal costingAmountPer = BigDecimal.ZERO;

	//成本
//	@Column(precision=38,scale=2)
//	private BigDecimal materialAmount = BigDecimal.ZERO;
//	@Column(precision=38,scale=2)
//	private BigDecimal workingAmount = BigDecimal.ZERO;
//	@Column(precision=38,scale=2)
//	private BigDecimal manufactAmount = BigDecimal.ZERO;
//	@Column(precision=38,scale=2)
//	private BigDecimal processAmount = BigDecimal.ZERO;
	
	@Column(precision=38,scale=2)
	private BigDecimal costingAmount = BigDecimal.ZERO;

	//单位标准成本
	@Column(precision=38,scale=6)
	private BigDecimal materialStandardPer = BigDecimal.ZERO;
	@Column(precision=38,scale=6)
	private BigDecimal workingStandardPer = BigDecimal.ZERO;
	@Column(precision=38,scale=6)
	private BigDecimal manufactStandardPer = BigDecimal.ZERO;
	@Column(precision=38,scale=6)
	private BigDecimal processStandardPer = BigDecimal.ZERO;
//	@Transient//被联合查询使用，所以不能是非持久化状态
	@Column(precision=38,scale=6)
	private BigDecimal costingStandardPer = BigDecimal.ZERO;
	
	//其中本阶成本（本阶成本已经加入到了单位标准成本中）
	@Column(precision=38,scale=6)
	private BigDecimal materialStandardPerThis = BigDecimal.ZERO;//好像没有什么用处
	@Column(precision=38,scale=6)
	private BigDecimal workingStandardPerThis = BigDecimal.ZERO;
	@Column(precision=38,scale=6)
	private BigDecimal manufactStandardPerThis = BigDecimal.ZERO;
	@Column(precision=38,scale=6)
	private BigDecimal processStandardPerThis = BigDecimal.ZERO;
	@Transient
	@Column(precision=38,scale=6)
	private BigDecimal costingStandardPerThis = BigDecimal.ZERO;


	//标准工时
	@Column(precision=10,scale=2)
	private BigDecimal workingHourPlan = BigDecimal.ZERO;
	//标准机时
	@Column(precision=10,scale=2)
	private BigDecimal machineHourPlan = BigDecimal.ZERO;
	@Column(precision=38,scale=6)
	private BigDecimal workingHourBase = BigDecimal.ZERO;
	
//	@Transient
//	@Column(length=3)
//	private String storageTypeD;//供应商
//	@Transient
//	@Column(length=20)
//	private String storageTypeDLabel;
//	@Column(length=32)
//	private String providerID;
//	@Transient
//	@Column(length=32)
//	private String providerNo;
//	@Transient
//	@Column(length=20)
//	private String pshortName;
//	@Transient
//	@Column(length=128)
//	private String providerName;
	
//	@Transient
//	@Column(length=3)
//	private String storageTypeC;
//	@Transient
//	@Column(length=20)
//	private String storageTypeCLabel;
//	@Column(length=32)
//	private String customerID;//拥有资产的客户
//	@Transient
//	@Column(length=15)
//	private String customerNo;
//	@Transient
//	@Column(length=20)
//	private String cshortName;
//	@Transient
//	@Column(length=128)
//	private String customerName;

//	@Column(length=32)
//	private String workcenterID;//拥有资产的客户
//	@Transient
//	@Column(length=15)
//	private String workcenterNo;
//	@Transient
//	@Column(length=20)
//	private String workcenterName;
//	@Transient
//	@Column(length=128)
//	private String workcenterLName;
	
	@Column(length=20)
	private String productNo;//作废
	@Column(length=20)
	private String projectNo;//作废

	@Column(length=30)
	private String barcode;

	@Column(precision=10,scale=2)
	private BigDecimal itemWeight = BigDecimal.ZERO;
	@Column(length=20)
	private String itemSize;
	
	@Column(precision=10,scale=2)
	private BigDecimal orderWeight = BigDecimal.ZERO;
	@Column(length=20)
	private String orderSize;
	
	@Column(length=256)
	private String imageurl;
	
	@Column(length=1024,columnDefinition="TEXT")
	private String images;
	
	@Column(length=4096,columnDefinition="TEXT")
	private String sDescription;//描述
	
//	@Transient
//	@Column(precision=10,scale=2)//购买数量
//	private BigDecimal buyAmount = BigDecimal.ZERO;
	
	@Column(length=128)
	private String manufacturer;
	private Date licenseValidDate;
	
	private int leadTime = 9999;//提前期（天）

	
//	@Column(length=32)
//	private String orgID;
//	@Column(length=128)
//	private String orgFName;
	
	@Column(length=32)
	private String groupKJ;//会计管理分类
	@Column(length=32)
	private String groupSP;//商品管理分类
	@Column(length=32)
	private String groupCK;//仓库管理分类

	/////物料分类////////////////////
//	@Transient
	@Column(length=20)
	String groupKJLabel;
//	@Transient
	@Column(length=128)
	String groupKJFullLabel;
//	@Transient
	@Column(length=20)
	String groupSPLabel;
//	@Transient
	@Column(length=128)
	String groupSPFullLabel;
//	@Transient
	@Column(length=20)
	String groupCKLabel;
//	@Transient
	@Column(length=128)
	String groupCKFullLabel;
	//////////////////////////////
	
	@Column(length=255)
	private String comments;
	
	@Column(length=15)
	private String cUsercode;
	@Column(length=20)
	private String cUsername;//制单人
	private Timestamp cDatetime;
	@Column(length=15)
	private String tUsercode;
	@Column(length=20)
	private String tUsername;//审核人
	private Timestamp tDatetime;
	@Column(length=15)
	private String eUsercode;
	@Column(length=20)
	private String eUsername;//关单人
	private Timestamp eDatetime;

	@Column(length=32)
	private String sCreatorFID;//创始人
	
	@Column(length=65)
	private String userId;

	@Column(length=128)
	private String enterpriseNo;
	@Column(length=128)
	private String enterpriseName;

	@Version
//	private int version = 0;
	private long version;
	
//	private int del = 0;//删除
//	@Column(length=32)
//	private String delUserId;
//	private Timestamp delDatetime;
	
	@Transient//非持久字段
	private RowState rowState;
	public RowState getRowState() {
		return rowState;
	}
	public void setRowState(RowState rowState) {
		this.rowState = rowState;
	}
	public long getVersion() {
		return version;
	}
	public void setVersion(long version) {
		this.version = version;
	}

	
	


	public String getSystemCode() {
		return systemCode;
	}
	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}
	public String getBillType() {
		return billType;
	}
	public void setBillType(String billType) {
		this.billType = billType;
	}
	public String getBillTypeName() {
		return billTypeName;
	}
	public void setBillTypeName(String billTypeName) {
		this.billTypeName = billTypeName;
	}
	public Date getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getQualityTypeLabel() {
		return qualityTypeLabel;
	}
	public void setQualityTypeLabel(String qualityTypeLabel) {
		this.qualityTypeLabel = qualityTypeLabel;
	}
	public String getForSale() {
		return forSale;
	}
	public void setForSale(String forSale) {
		this.forSale = forSale;
	}
	public String getForUsed() {
		return forUsed;
	}
	public void setForUsed(String forUsed) {
		this.forUsed = forUsed;
	}
	public BigDecimal getItemWeight() {
		return itemWeight;
	}
	public void setItemWeight(BigDecimal itemWeight) {
		this.itemWeight = itemWeight;
	}
	public String getItemSize() {
		return itemSize;
	}
	public void setItemSize(String itemSize) {
		this.itemSize = itemSize;
	}
	public String getStorageTypeLabel() {
		return storageTypeLabel;
	}
	public void setStorageTypeLabel(String storageTypeLabel) {
		this.storageTypeLabel = storageTypeLabel;
	}
	public String getAbcGrade() {
		return abcGrade;
	}
	public void setAbcGrade(String abcGrade) {
		this.abcGrade = abcGrade;
	}
	public String getRoutingNo() {
		return routingNo;
	}
	public void setRoutingNo(String routingNo) {
		this.routingNo = routingNo;
	}
	public int getValidDays() {
		return validDays;
	}
	public void setValidDays(int validDays) {
		this.validDays = validDays;
	}
	public int getCheckoutAgainDays() {
		return checkoutAgainDays;
	}
	public void setCheckoutAgainDays(int checkoutAgainDays) {
		this.checkoutAgainDays = checkoutAgainDays;
	}
	public String getcUsercode() {
		return cUsercode;
	}
	public void setcUsercode(String cUsercode) {
		this.cUsercode = cUsercode;
	}
	public String getcUsername() {
		return cUsername;
	}
	public void setcUsername(String cUsername) {
		this.cUsername = cUsername;
	}
	public Timestamp getcDatetime() {
		return cDatetime;
	}
	public void setcDatetime(Timestamp cDatetime) {
		this.cDatetime = cDatetime;
	}
	public String gettUsercode() {
		return tUsercode;
	}
	public void settUsercode(String tUsercode) {
		this.tUsercode = tUsercode;
	}
	public String gettUsername() {
		return tUsername;
	}
	public void settUsername(String tUsername) {
		this.tUsername = tUsername;
	}
	public Timestamp gettDatetime() {
		return tDatetime;
	}
	public void settDatetime(Timestamp tDatetime) {
		this.tDatetime = tDatetime;
	}
	public String geteUsercode() {
		return eUsercode;
	}
	public void seteUsercode(String eUsercode) {
		this.eUsercode = eUsercode;
	}
	public String geteUsername() {
		return eUsername;
	}
	public void seteUsername(String eUsername) {
		this.eUsername = eUsername;
	}
	public Timestamp geteDatetime() {
		return eDatetime;
	}
	public void seteDatetime(Timestamp eDatetime) {
		this.eDatetime = eDatetime;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getProductNo() {
		return productNo;
	}
	public void setProductNo(String productNo) {
		this.productNo = productNo;
	}
	public String getProjectNo() {
		return projectNo;
	}
	public void setProjectNo(String projectNo) {
		this.projectNo = projectNo;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public int getCostingType() {
		return costingType;
	}
	public void setCostingType(int costingType) {
		this.costingType = costingType;
	}
	public int getQualityType() {
		return qualityType;
	}
	public void setQualityType(int qualityType) {
		this.qualityType = qualityType;
	}
	public BigDecimal getSalePrice() {
		return salePrice;
	}
	public void setSalePrice(BigDecimal salePrice) {
		this.salePrice = salePrice;
	}
	public BigDecimal getTaxRate() {
		return taxRate;
	}
	public void setTaxRate(BigDecimal taxRate) {
		this.taxRate = taxRate;
	}
	public String getStoreNo() {
		return storeNo;
	}
	public void setStoreNo(String storeNo) {
		this.storeNo = storeNo;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}

	public String getStorageNo() {
		return storageNo;
	}
	public void setStorageNo(String storageNo) {
		this.storageNo = storageNo;
	}
	public String getStorageName() {
		return storageName;
	}
	public void setStorageName(String storageName) {
		this.storageName = storageName;
	}
	public String getFloorNo() {
		return floorNo;
	}
	public void setFloorNo(String floorNo) {
		this.floorNo = floorNo;
	}
	public String getStorageType() {
		return storageType;
	}
	public void setStorageType(String storageType) {
		this.storageType = storageType;
	}
	public String getfID() {
		return fID;
	}
	public void setfID(String fID) {
		this.fID = fID;
	}
	public String getItemNo() {
		return itemNo;
	}
	public void setItemNo(String itemNo) {
		this.itemNo = itemNo;
	}
	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemProperty() {
		return itemProperty;
	}

	public void setItemProperty(String itemProperty) {
		this.itemProperty = itemProperty;
	}

	public String getUnitCode() {
		return unitCode;
	}
	public void setUnitCode(String unitCode) {
		this.unitCode = unitCode;
	}
	public String getUnitName() {
		return unitName;
	}
	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}
	public String getProcess() {
		return process;
	}
	public void setProcess(String process) {
		this.process = process;
	}
	public String getProcessLabel() {
		return processLabel;
	}
	public void setProcessLabel(String processLabel) {
		this.processLabel = processLabel;
	}
	public String getLevelCode() {
		return levelCode;
	}
	public void setLevelCode(String levelCode) {
		this.levelCode = levelCode;
	}
	public int getQualityPeriod() {
		return qualityPeriod;
	}
	public void setQualityPeriod(int qualityPeriod) {
		this.qualityPeriod = qualityPeriod;
	}
	public BigDecimal getItemQuantityL() {
		return itemQuantityL;
	}
	public void setItemQuantityL(BigDecimal itemQuantityL) {
		this.itemQuantityL = itemQuantityL;
	}
	public Date getDateIn() {
		return dateIn;
	}
	public void setDateIn(Date dateIn) {
		this.dateIn = dateIn;
	}
	public Date getDateOut() {
		return dateOut;
	}
	public void setDateOut(Date dateOut) {
		this.dateOut = dateOut;
	}
	public String getEnterpriseNo() {
		return enterpriseNo;
	}
	public void setEnterpriseNo(String enterpriseNo) {
		this.enterpriseNo = enterpriseNo;
	}
	public String getEnterpriseName() {
		return enterpriseName;
	}
	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}
	public String getBatchNo() {
		return batchNo;
	}
	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public BigDecimal getPieceQuantityL() {
		return pieceQuantityL;
	}
	public void setPieceQuantityL(BigDecimal pieceQuantityL) {
		this.pieceQuantityL = pieceQuantityL;
	}
	public BigDecimal getCostingAmountPer() {
		return costingAmountPer;
	}
	public void setCostingAmountPer(BigDecimal costingAmountPer) {
		this.costingAmountPer = costingAmountPer;
	}
	public String getOrderSize() {
		return orderSize;
	}
	public void setOrderSize(String orderSize) {
		this.orderSize = orderSize;
	}
	public BigDecimal getOrderWeight() {
		return orderWeight;
	}
	public void setOrderWeight(BigDecimal orderWeight) {
		this.orderWeight = orderWeight;
	}
	public String getManufacturer() {
		return manufacturer;
	}
	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}
	public Date getLicenseValidDate() {
		return licenseValidDate;
	}
	public void setLicenseValidDate(Date licenseValidDate) {
		this.licenseValidDate = licenseValidDate;
	}
	public String getsCreatorFID() {
		return sCreatorFID;
	}
	public void setsCreatorFID(String sCreatorFID) {
		this.sCreatorFID = sCreatorFID;
	}
	public String getStorageID() {
		return storageID;
	}
	public void setStorageID(String storageID) {
		this.storageID = storageID;
	}
	public String getsDescription() {
		return sDescription;
	}
	public void setsDescription(String sDescription) {
		this.sDescription = sDescription;
	}
	public String getItemDescribe() {
		return itemDescribe;
	}
	public void setItemDescribe(String itemDescribe) {
		this.itemDescribe = itemDescribe;
	}
	public int getLeadTime() {
		return leadTime;
	}
	public void setLeadTime(int leadTime) {
		this.leadTime = leadTime;
	}
	public int getCheckoutDays() {
		return checkoutDays;
	}
	public void setCheckoutDays(int checkoutDays) {
		this.checkoutDays = checkoutDays;
	}
	public String getImageurl() {
		return imageurl;
	}
	public void setImageurl(String imageurl) {
		this.imageurl = imageurl;
	}
	public String getSortNo() {
		return sortNo;
	}
	public void setSortNo(String sortNo) {
		this.sortNo = sortNo;
	}
	public String getfParent() {
		return fParent;
	}
	public void setfParent(String fParent) {
		this.fParent = fParent;
	}
	public String getBarcode() {
		return barcode;
	}
	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}
	public BigDecimal getCostingAmount() {
		return costingAmount;
	}
	public void setCostingAmount(BigDecimal costingAmount) {
		this.costingAmount = costingAmount;
	}
	public String getProperValues() {
		return properValues;
	}
	public void setProperValues(String properValues) {
		this.properValues = properValues;
	}
	public String getfParentNo() {
		return fParentNo;
	}
	public void setfParentNo(String fParentNo) {
		this.fParentNo = fParentNo;
	}
	public int getConfigType() {
		return configType;
	}
	public void setConfigType(int configType) {
		this.configType = configType;
	}
	public int getUpperShelf() {
		return upperShelf;
	}
	public void setUpperShelf(int upperShelf) {
		this.upperShelf = upperShelf;
	}
	public int getCheckin() {
		return checkin;
	}
	public void setCheckin(int checkin) {
		this.checkin = checkin;
	}
	public BigDecimal getItemQuantityFrozen() {
		return itemQuantityFrozen;
	}
	public void setItemQuantityFrozen(BigDecimal itemQuantityFrozen) {
		this.itemQuantityFrozen = itemQuantityFrozen;
	}
	public BigDecimal getPieceQuantityFrozen() {
		return pieceQuantityFrozen;
	}
	public void setPieceQuantityFrozen(BigDecimal pieceQuantityFrozen) {
		this.pieceQuantityFrozen = pieceQuantityFrozen;
	}
	public BigDecimal getWorkingHourPlan() {
		return workingHourPlan;
	}
	public void setWorkingHourPlan(BigDecimal workingHourPlan) {
		this.workingHourPlan = workingHourPlan;
	}
	public BigDecimal getMachineHourPlan() {
		return machineHourPlan;
	}
	public void setMachineHourPlan(BigDecimal machineHourPlan) {
		this.machineHourPlan = machineHourPlan;
	}
	public BigDecimal getWorkingHourBase() {
		return workingHourBase;
	}
	public void setWorkingHourBase(BigDecimal workingHourBase) {
		this.workingHourBase = workingHourBase;
	}
	public BigDecimal getMaterialStandardPer() {
		return materialStandardPer;
	}
	public void setMaterialStandardPer(BigDecimal materialStandardPer) {
		this.materialStandardPer = materialStandardPer;
	}
	public BigDecimal getWorkingStandardPer() {
		return workingStandardPer;
	}
	public void setWorkingStandardPer(BigDecimal workingStandardPer) {
		this.workingStandardPer = workingStandardPer;
	}
	public BigDecimal getManufactStandardPer() {
		return manufactStandardPer;
	}
	public void setManufactStandardPer(BigDecimal manufactStandardPer) {
		this.manufactStandardPer = manufactStandardPer;
	}
	public BigDecimal getProcessStandardPer() {
		return processStandardPer;
	}
	public void setProcessStandardPer(BigDecimal processStandardPer) {
		this.processStandardPer = processStandardPer;
	}
	public BigDecimal getCostingStandardPer() {
		return costingStandardPer;
	}
	public void setCostingStandardPer(BigDecimal costingStandardPer) {
		this.costingStandardPer = costingStandardPer;
	}
	public String getGroupKJ() {
		return groupKJ;
	}
	public void setGroupKJ(String groupKJ) {
		this.groupKJ = groupKJ;
	}
	public String getGroupSP() {
		return groupSP;
	}
	public void setGroupSP(String groupSP) {
		this.groupSP = groupSP;
	}
	public String getGroupCK() {
		return groupCK;
	}
	public void setGroupCK(String groupCK) {
		this.groupCK = groupCK;
	}
	public String getGroupKJLabel() {
		return groupKJLabel;
	}
	public void setGroupKJLabel(String groupKJLabel) {
		this.groupKJLabel = groupKJLabel;
	}
	public String getGroupKJFullLabel() {
		return groupKJFullLabel;
	}
	public void setGroupKJFullLabel(String groupKJFullLabel) {
		this.groupKJFullLabel = groupKJFullLabel;
	}
	public String getGroupSPLabel() {
		return groupSPLabel;
	}
	public void setGroupSPLabel(String groupSPLabel) {
		this.groupSPLabel = groupSPLabel;
	}
	public String getGroupSPFullLabel() {
		return groupSPFullLabel;
	}
	public void setGroupSPFullLabel(String groupSPFullLabel) {
		this.groupSPFullLabel = groupSPFullLabel;
	}
	public String getGroupCKLabel() {
		return groupCKLabel;
	}
	public void setGroupCKLabel(String groupCKLabel) {
		this.groupCKLabel = groupCKLabel;
	}
	public String getGroupCKFullLabel() {
		return groupCKFullLabel;
	}
	public void setGroupCKFullLabel(String groupCKFullLabel) {
		this.groupCKFullLabel = groupCKFullLabel;
	}
	public BigDecimal getWorkingStandardPerThis() {
		return workingStandardPerThis;
	}
	public void setWorkingStandardPerThis(BigDecimal workingStandardPerThis) {
		this.workingStandardPerThis = workingStandardPerThis;
	}
	public BigDecimal getManufactStandardPerThis() {
		return manufactStandardPerThis;
	}
	public void setManufactStandardPerThis(BigDecimal manufactStandardPerThis) {
		this.manufactStandardPerThis = manufactStandardPerThis;
	}
	public BigDecimal getProcessStandardPerThis() {
		return processStandardPerThis;
	}
	public void setProcessStandardPerThis(BigDecimal processStandardPerThis) {
		this.processStandardPerThis = processStandardPerThis;
	}
	public BigDecimal getCostingStandardPerThis() {
		return costingStandardPerThis;
	}
	public void setCostingStandardPerThis(BigDecimal costingStandardPerThis) {
		this.costingStandardPerThis = costingStandardPerThis;
	}
	public int getStockFlag() {
		return stockFlag;
	}
	public void setStockFlag(int stockFlag) {
		this.stockFlag = stockFlag;
	}
	public int getMpsFlag() {
		return mpsFlag;
	}
	public void setMpsFlag(int mpsFlag) {
		this.mpsFlag = mpsFlag;
	}
	public int getPurchaseTaxType() {
		return purchaseTaxType;
	}
	public void setPurchaseTaxType(int purchaseTaxType) {
		this.purchaseTaxType = purchaseTaxType;
	}
	public BigDecimal getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(BigDecimal purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public int getSaleTaxType() {
		return saleTaxType;
	}
	public void setSaleTaxType(int saleTaxType) {
		this.saleTaxType = saleTaxType;
	}
	public int getProcessTaxType() {
		return processTaxType;
	}
	public void setProcessTaxType(int processTaxType) {
		this.processTaxType = processTaxType;
	}
	public BigDecimal getProcessPrice() {
		return processPrice;
	}
	public void setProcessPrice(BigDecimal processPrice) {
		this.processPrice = processPrice;
	}
	public BigDecimal getMaterialStandardPerThis() {
		return materialStandardPerThis;
	}
	public void setMaterialStandardPerThis(BigDecimal materialStandardPerThis) {
		this.materialStandardPerThis = materialStandardPerThis;
	}
	public String getAllowed() {
		return allowed;
	}
	public void setAllowed(String allowed) {
		this.allowed = allowed;
	}


	
	

}
